#pragma once
#include <Windows.h>
#include "PhysicsManager.h"
#include "CFPSDetector.h"
#include <gl/GL.h>
#include <gl/GLU.h>
#include "ThreadHeader.h"
#include "RPCCode.h"

#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")

//Global Physics Manager
PhysicsManager PhysMan(48.0f, 8.0f, 4, 100); //0 threads is autodetect
PerfMonData g_PerfMonData;
//int	AttachToWMI();

bool CreateGLWindow(char* title, int width, int height, int bits);

void KillGLWindow(void);

void CheckKeys(void);

void ChangeSize(int width, int height);

void SetupRC(void);

void DrawScene(void);


